package com.mobzilla.service;

public final class ServiceFactory {
	private static LoginService loginService = new LoginServiceImpl();

	private static SearchService searchService = new SearchServiceImpl();

	private static UpdateService updateService = new UpdateServiceImpl();

	private static CreateService createService = new CreateServiceImpl();

	private static LoadBalancerService loadBalService = new LoadBalancerServiceImpl();

	private ServiceFactory() {

	}

	public static LoginService getLoginServiceInstance() {
		return loginService;
	}

	public static SearchService getSearchServiceInstance() {
		return searchService;
	}

	public static CreateService getCreateServiceInstance() {
		return createService;
	}

	public static UpdateService getUpdateServiceInstance() {
		return updateService;
	}

	public static LoadBalancerService getLoadBalancerInstance() {
		return loadBalService;
	}
}
